﻿<%@ Page Title="" Language="C#" MasterPageFile="~/bonsaiTemp.master" AutoEventWireup="true" CodeFile="Product.aspx.cs" Inherits="Product" %>

<asp:Content ID="Content1" ContentPlaceHolderID="ContentRight" Runat="Server">
    <form id="form1" runat="server">    
    <div class="rating_product">
        <p>Lựa chọn sản phẩm:
            <asp:DropDownList ID="listCatalogProduct" runat="server" AutoPostBack="true" onselectedindexchanged="listCatalogProduct_SelectedIndexChanged">
            </asp:DropDownList>
        </p>
        <div style="width:684px;height:auto; padding-top:10px;">       
            
            <asp:DataList ID="listProduct" runat="server" RepeatDirection="Horizontal" width="124px" Itemstyle-wrap="true" RepeatLayout="Table" RepeatColumns="4">                
                <ItemStyle HorizontalAlign="Center" VerticalAlign="Top"/>                               
                <ItemTemplate>                                         
                    <img src="<%#"img_product/" + Eval("RepresentImage")%>" width="124px" height="112px"  alt=""/>
                    <div style="background-color:#379932;padding:5px;width:114px;"><%#Eval("ProductName")%></div>                                                
                    <img src="img/pixel_trans.gif" height="10px" width="170px" />
                </ItemTemplate>                                
            </asp:DataList>
        <div>
            
        </div>
    </div>           
    </form>
</asp:Content>

